<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<script type="text/javascript">
</script>
<div class="pageContent">
	<form method="post" action="${base }/admin/photo/${obj==null?'saveType':'updateType'}"
		class="pageForm required-validate"
		onsubmit="return validateCallback(this,dialogAjaxDone);">
		<div class="pageFormContent" layoutH="60">
			<table border="0" id="photoTypeEdit">
				<tr style="height: 30px;">
					<td><label>类名称：</label>
					</td>
					<td><input name="name" type="text" size="30" alt="请输入分类名称" value="${obj.name }"/>
						<input type="hidden" name="userId" value="${obj==null?user.id:obj.userId }" />
						<input type="hidden" name="id" value="${obj.id }" />
					</td>
				</tr>
				<tr style="height: 30px;">
					<td><label>别名：</label>
					</td>
					<td><input name="alias" type="text" size="30"  value="${obj.alias }"/>
					</td>
				</tr>
				<tr style="height: 30px;">
					<td><label>描述：</label>
					</td>
					<td><textarea name="description" cols="30" rows="5" >${obj.description }</textarea>
					</td>
				</tr>
			</table>
		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive">
						<div class="buttonContent">
							<button type="submit">保存</button>
						</div>
					</div>
				</li>
				<li>
					<div class="button">
						<div class="buttonContent">
							<button type="button" class="close">取消</button>
						</div>
					</div></li>
			</ul>
		</div>
	</form>
</div>
